From: Jasper St. Pierre Date: Tue, 3 Dec 2013 22:27:28 +0000 (-0500) Subject: background: Remove unused variable X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3020 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=adb49bdf0bdba10658cbf81aeb5164b9cfc95eea;p=gnome-shell.git background: Remove unused variable https://bugzilla.gnome.org/show_bug.cgi?id=719803 --- diff --git a/js/ui/background.js b/js/ui/background.js index af69f9dcd..06db8f0b8 100644 --- a/js/ui/background.js +++ b/js/ui/background.js @@ -728,8 +728,8 @@ const BackgroundManager = new Lang.Class({ } }, - _updateBackground: function(background, monitorIndex) { - let newBackground = this._createBackground(monitorIndex); + _updateBackground: function(background) { + let newBackground = this._createBackground(); newBackground.vignetteSharpness = background.vignetteSharpness; newBackground.brightness = background.brightness; newBackground.visible = background.visible; @@ -778,7 +778,7 @@ const BackgroundManager = new Lang.Class({ background.changeSignalId = background.connect('changed', Lang.bind(this, function() { background.disconnect(background.changeSignalId); background.changeSignalId = 0; - this._updateBackground(background, this._monitorIndex); + this._updateBackground(background); })); background.actor.connect('destroy', Lang.bind(this, function() {